<div class="row-fluid">
    <div class="box-bar-post border-last">
        <ul class="title-post">
            <li class="firt-bai-viet"><a href="#" title="<?php echo $titleDefinitions['baiviet'];?>"><?php echo $titleDefinitions['baiviet'];?></a></li>
            <li>
                <h1>
                    <a href="<?php echo DOMAIN.'detail/'.$detail['News']['link'];?>.html" title="<?php echo $detail['News']['name'];?>">
                        <?php echo $detail['News']['name'];?>
                    </a>
                </h1>
            </li>
        </ul>
        <div class="clear-content"></div>
        <div class="row-fluid">
            <div class="box-new-list-content">
                
                <div class="shortdes_detail">
                    <?php echo shortDesc($detail['News']['shortdes'], 800);?>
                </div><!--end shortdes_detail-->
                <div class="clear-content"></div>
                <div class="box-tin-lien-quan-one">
                    <?php if(!empty($tinlienquan[0]['News']['name'])){?>
                        <div class="title-tin-lien-quan-one">
                            <i class="fa fa-level-up fa-rotate-90 pull-left"></i> <h3><a href="<?php echo DOMAIN.'detail/'.$tinlienquan[0]['News']['link'];?>.html" title="<?php echo $tinlienquan[0]['News']['name'];?>"><?php echo $tinlienquan[0]['News']['name'];?></a></h3>
                        </div>
                    <?php }?>
                    <?php if(!empty($tinlienquan[1]['News']['name'])){?>
                        <div class="title-tin-lien-quan-one">
                            <i class="fa fa-level-up fa-rotate-90 pull-left"></i> <h3><a href="<?php echo DOMAIN.'detail/'.$tinlienquan[1]['News']['link'];?>.html" title="<?php echo $tinlienquan[1]['News']['name'];?>"><?php echo $tinlienquan[1]['News']['name'];?></a></h3>
                        </div>
                    <?php }?>
                </div><!--end box-tin-lien-quan-one-->
                <div class="clear-main"></div>
                <div class="ct_tt"><?php echo $detail['News']['content'];?></div><!--end ct_tt-->
                <div class="clear-main"></div>
                <div class="keyword-content">Từ khóa: </div><!--end keyword-content-->
                <div class="share-post">
                    <div class="row-fluid">
                        <div class="span3">Chia sẻ:</div>
                        <div class="span9 text-right">
                            <a href="https://api.addthis.com/oexchange/0.8/forward/facebook/offer?pco=tbxnj-1.0&url=<?php echo DOMAIN.$detail['News']['link'];?>.html&pubid=ra-53aa7ff21900e7b5&ct=1" target="_blank"><img src="<?php echo DOMAIN;?>images/face.png" title="" alt=""/></a>
                            <a href="https://api.addthis.com/oexchange/0.8/forward/twitter/offer?pco=tbxnj-1.0&url=<?php echo DOMAIN.$detail['News']['link'];?>.html&pubid=ra-53aa7ff21900e7b5&ct=1" target="_blank"><img src="<?php echo DOMAIN;?>images/tw.png" title="" alt=""/></a>
                            <a href="https://api.addthis.com/oexchange/0.8/forward/linkedin/offer?pco=tbxnj-1.0&url=<?php echo DOMAIN.$detail['News']['link'];?>.html&pubid=ra-53aa7ff21900e7b5&ct=1" target="_blank"><img src="<?php echo DOMAIN;?>images/in.png" title="" alt=""/></a>
                            <a href="https://api.addthis.com/oexchange/0.8/forward/tumblr/offer?pco=tbxnj-1.0&url=<?php echo DOMAIN.$detail['News']['link'];?>.html&pubid=ra-53aa7ff21900e7b5&ct=1" target="_blank"><img src="<?php echo DOMAIN;?>images/t.png" title="" alt=""/></a>
                            <a href="https://api.addthis.com/oexchange/0.8/forward/pinterest_share/offer?pco=tbxnj-1.0&url=<?php echo DOMAIN.$detail['News']['link'];?>.html&pubid=ra-53aa7ff21900e7b5&ct=1" target="_blank"><img src="<?php echo DOMAIN;?>images/p.png" title="" alt=""/></a>
                            <a href="https://api.addthis.com/oexchange/0.8/forward/google_plusone_share/offer?pco=tbxnj-1.0&url=<?php echo DOMAIN.$detail['News']['link'];?>.html&pubid=ra-53aa7ff21900e7b5&ct=1" target="_blank"><img src="<?php echo DOMAIN;?>images/gc.png" title="" alt=""/></a>
                            <a href="https://api.addthis.com/oexchange/0.8/forward/gmail/offer?pco=tbxnj-1.0&url=<?php echo DOMAIN.$detail['News']['link'];?>.html&pubid=ra-53aa7ff21900e7b5&ct=1" target="_blank"><img src="<?php echo DOMAIN;?>images/email.png" title="" alt=""/></a>
                        </div>
                    </div>
                </div><!--end share-post-->
                <div class="box-tin-lien-quan-two">
                    <div class="title-tin-lien-quan-two"><?php echo $titleDefinitions['tinlienquan'];?></div>
                    <table style="width: 100%;">
                        <tr>
                            <?php if(!empty($tinlienquan[2]['News']['name'])){?>
                                <td valign="top" align="left" style="width: 50%;">
                                    <div class="box-new-tin-lien-quan">
                                        <a href="<?php echo DOMAIN.'detail/'.$tinlienquan[2]['News']['link'];?>.html" title="<?php echo $tinlienquan[2]['News']['name'];?>">
                                            <img src="<?php echo DOMAIN;?>img/w120/h90/<?php echo $tinlienquan[2]['News']['images'];?>" class="span4" title="<?php echo $tinlienquan[2]['News']['name'];?>" alt="<?php echo $tinlienquan[2]['News']['name'];?>"/>
                                        </a>
                                        <h3>
                                            <a href="<?php echo DOMAIN.'detail/'.$tinlienquan[2]['News']['link'];?>.html" title="<?php echo $tinlienquan[2]['News']['name'];?>">
                                                <?php echo shortDesc($tinlienquan[2]['News']['name'], 50);?>
                                            </a>
                                            <span>Date <?php echo date('d-m-Y', strtotime($tinlienquan[2]['News']['modified'])); ?></span>
                                        </h3>
                                        <div class="shortdes_detail"><?php echo shortDesc($tinlienquan[2]['News']['shortdes'], 58);?></div>
                                        <div class="clear-main"></div>
                                    </div><!--end box-new-tin-lien-quan-->
                                </td>
                            <?php }?>
                            <?php if(!empty($tinlienquan[3]['News']['name'])){?>
                                <td valign="top" align="left" style="width: 50%;">
                                    <div class="box-new-tin-lien-quan">
                                        <a href="<?php echo DOMAIN.'detail/'.$tinlienquan[3]['News']['link'];?>.html" title="<?php echo $tinlienquan[3]['News']['name'];?>">
                                            <img src="<?php echo DOMAIN;?>img/w120/h90/<?php echo $tinlienquan[3]['News']['images'];?>" class="span4" title="<?php echo $tinlienquan[3]['News']['name'];?>" alt="<?php echo $tinlienquan[3]['News']['name'];?>"/>
                                        </a>
                                        <h3>
                                            <a href="<?php echo DOMAIN.'detail/'.$tinlienquan[3]['News']['link'];?>.html" title="<?php echo $tinlienquan[3]['News']['name'];?>">
                                                <?php echo shortDesc($tinlienquan[3]['News']['name'], 50);?>
                                            </a>
                                            <span>Date <?php echo date('d-m-Y', strtotime($tinlienquan[3]['News']['modified'])); ?></span>
                                        </h3>
                                        <div class="shortdes_detail"><?php echo shortDesc($tinlienquan[3]['News']['shortdes'], 58);?></div>
                                        <div class="clear-main"></div>
                                    </div><!--end box-new-tin-lien-quan-->
                                </td>
                            <?php }?>
                        </tr>
                    </table>
                </div><!--end box-tin-lien-quan-two-->
            </div><!--end box-new-list-content-->
        </div>
        <div class="clear-content"></div>
    </div><!--end box-bar-post-->
</div>